#include <Windows.h>
#include "DxApp/DxApp.h"
#include "DxApp/MainLoop.h"
DxApp* app = NULL;
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int iCmdShow){
	app = DxApp::create(hInstance);
	app->setLooper(new MainLoop());
	app->dealMsg();
	return 0;
}